package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.Type;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 休假管理明细表
 * 
 * @author ruoyi
 */
public class SysHolidayDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键",prompt = "新增时不填")
    private String holidayUuid;

    /** 序号 */
    @Excel(name = "序号",prompt = "必填")
    private String serialNum;

    /** 项目名称 */
    @Excel(name = "项目名称",prompt = "必填")
    private String projectName;

    /** 员工名称 */
    @Excel(name = "员工名称",prompt = "必填")
    private String userName;

    /** 年份*/
    @Excel(name = "年份",prompt = "必填，与休假日期的年份对应")
    private String year;

    /** 休假日期 */
    @Excel(name = "休假日期",prompt = "必填")
    private String holidayDate;

    /** 年假总时长*/
    @Excel(name = "年假总时长",prompt = "必填")
    private String yearHolTotal;

    /** 年假时长 */
    @Excel(name = "年假时长",prompt = "必填")
    private String yearHolDate;

    /** 事假时长 */
    @Excel(name = "事假时长",prompt = "必填")
    private String casuHolDate;

    /** 病假时长*/
    @Excel(name = "病假时长",prompt = "必填")
    private String sickHolDate;

    /** 备注*/
    @Excel(name = "备注")
    private String bak;

//    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
    private Date cratetime;
//    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Type.EXPORT)
    private Date updatetime;
    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getHolidayUuid() {
        return holidayUuid;
    }

    public void setHolidayUuid(String holidayUuid) {
        this.holidayUuid = holidayUuid;
    }

    public String getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(String serialNum) {
        this.serialNum = serialNum;
    }

    public String getYearHolTotal() {
        return yearHolTotal;
    }

    public void setYearHolTotal(String yearHolTotal) {
        this.yearHolTotal = yearHolTotal;
    }

    @Override
    public String getProjectName() {
        return projectName;
    }

    @Override
    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getHolidayDate() {
        return holidayDate;
    }

    public void setHolidayDate(String holidayDate) {
        this.holidayDate = holidayDate;
    }

    public String getYearHolDate() {
        return yearHolDate;
    }

    public void setYearHolDate(String yearHolDate) {
        this.yearHolDate = yearHolDate;
    }

    public String getCasuHolDate() {
        return casuHolDate;
    }

    public void setCasuHolDate(String casuHolDate) {
        this.casuHolDate = casuHolDate;
    }

    public Date getCratetime() {
        return cratetime;
    }

    public void setCratetime(Date cratetime) {
        this.cratetime = cratetime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return "SysHolidayDetail{" +
                "holidayUuid='" + holidayUuid + '\'' +
                ", serialNum='" + serialNum + '\'' +
                ", projectName='" + projectName + '\'' +
                ", userName='" + userName + '\'' +
                ", year='" + year + '\'' +
                ", yearHolTotal='" + yearHolTotal + '\'' +
                ", holidayDate='" + holidayDate + '\'' +
                ", yearHolDate='" + yearHolDate + '\'' +
                ", casuHolDate='" + casuHolDate + '\'' +
                ", sickHolDate='" + sickHolDate + '\'' +
                ", bak='" + bak + '\'' +
                ", cratetime=" + cratetime +
                ", updatetime=" + updatetime +
                '}';
    }

    public String getSickHolDate() {
        return sickHolDate;
    }

    public void setSickHolDate(String sickHolDate) {
        this.sickHolDate = sickHolDate;
    }

    public String getBak() {
        return bak;
    }

    public void setBak(String bak) {
        this.bak = bak;
    }

}
